import { Layout } from '@/layouts'

const constantRoutesList = [
	{
		path: '/redirect',
		component: Layout,
		hidden: true,
		children: [
			{
				path: '/redirect/:path(.*)',
				component: () => import('@/views/redirect/index')
			}
		]
	},
	{
		path: '/404',
		component: () => import('@/views/error-page/404'),
		hidden: true,
		meta: {
			title: '404'
		}
	},
	{
		path: '/401',
		component: () => import('@/views/error-page/401'),
		hidden: true,
		meta: {
			title: '401'
		}
	},
	{
		path: '/prodType',
		component: () => import('@/views/CardTemplate/prodType/index.vue'),
		name: 'ProdType',
		hidden: true
	},
	{
		path: '/fundType',
		component: () => import('@/views/CardTemplate/fundType/index.vue'),
		name: 'fundType',
		hidden: true
	},
	{
		path: '/profile',
		component: Layout,
		redirect: '/profile/index',
		hidden: true,
		children: [
			{
				path: 'index',
				component: () => import('@/views/profile/index'),
				name: 'Profile',
				meta: { title: '个人信息', icon: 'user', noCache: true }
			}
		]
	}
]
export default constantRoutesList
